<gui:expandablePanel title="Search Options" expanded="false" bounce="false">
  <g:form action="search" method="post" >
    <table><tbody>
      <tr class="prop">
        <td>Name:</td>
        <td>
          <input type="text" id="name" name="name" value="${session.searchCompanyName?:""}" />
        </td>
      </tr>
      <tr class="prop">
        <td>City:</td>
        <td>
          <input type="text" id="city" name="city" value="${session.searchCompanyCity?:""}" />
        </td>
      </tr>
      <tr class="prop">
        <td>State:</td>
        <td>
          <g:select id="state" optionKey="id" from="${session.searchCompanyStates}" name="state"
                    value="${session.searchCompanyState}" noSelection="${['null':'Select One...']}"></g:select>
        </td>
      </tr>
      <tr class="prop">
        <td>Zip:<br />
        <td>
          <div style="width:150px">
            <gui:autoComplete
              id="postalCode"
              controller="address"
              action="listPostalCodesForACAsJSON"
              queryDelay="0.3"
              value="${session.searchCompanyPostalCode}"
              /><br /><br />
          </div>
        </td>
      </tr>
      <tr class="prop">
        <td>Phone:</td>
        <td>
          <div style="width:150px">
            <gui:autoComplete
              id="phone"
              controller="company"
              action="listPhoneForACAsJSON"
              queryDelay="0.3"
              value="${session.searchCompanyPhone}"
              /><br /><br />
          </div>
        </td>
      </tr>
      <tr class="prop">
        <td></td><td>
          <tdcmw:submitFormButton action="search" label="Search" />
          <tdcmw:submitFormButton action="clearSearch" label="Clear" />
        </td>
      </tr>
    </table>
  </g:form>
</gui:expandablePanel>
